home *** CD-ROM | disk | FTP | other *** search
/ Linux Cubed Series 8: LINUX Games / Linux Cubed Series 8 - LINUX Games.iso / games / x11 / rpg / crossfir.92 / crossfir / crossfire-0.92.5 / crossedit / Crossedit.ad < prev    next >
Text File  |  1996-07-24  |  9KB  |  309 lines

  1. !
  2. ! Crossedit.ad - Xt-resource definition to CrossEdit
  3. ! Copyright (C) 1993 Petri Heinila and Jarkko Sonninen
  4. !
  5. ! This program is free software; you can redistribute it and/or modify
  6. ! it under the terms of the GNU General Public License as published by
  7. ! the Free Software Foundation; either version 2 of the License, or
  8. ! any later version.
  9. !
  10. ! This program is distributed in the hope that it will be useful,
  11. ! but WITHOUT ANY WARRANTY; without even the implied warranty of
  12. ! MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
  13. ! GNU General Public License for more details.
  14. !
  15. ! You should have received a copy of the GNU General Public License
  16. ! along with this program; if not, write to the Free Software
  17. ! Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
  18. !
  19. ! Authors can be connected by email from hevi@lut.fi and sonninen@lut.fi
  20. !
  21. ! state: wait for cleaning
  22. ! style: challenges to resource type, instead objects
  23. !
  24. ! Contents:
  25. ! 1. user config resources
  26. !    - best place to these user own resouces is users own ~/.Xdefault-
  27. !      file.
  28. ! 2. general resources
  29. ! 3. object resources
  30. !
  31. ! Notify:
  32. ! - do no run this file by "xrdb -load" 
  33. !
  34.  
  35. !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
  36. !!  user config resources
  37. !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
  38.  
  39. !!! the default size in fonts to new map
  40. *mapWidth:    15
  41. *mapHeight:    15
  42.  
  43. !!! the real name of map designer
  44. !!! - this appears in map info
  45. *creator:    Gnat the Gnu
  46.  
  47. !!! the internet address of map designer
  48. !!! - this appears in map info
  49. *email:        gnu@foo.bar
  50.  
  51. !!! command to run crossfire from menubar: File->CrossFire
  52. !!! - via /bin/sh <cmd>
  53. *cmdCrossfire:    crossfire -pix
  54.  
  55. !!! command to run map resetting function from: File->Reset
  56. !!! - dm passwd have to be set same in here and in crossfire
  57. !!! - via /bin/sh <cmd>
  58. !!! - "'" by quoting preferable
  59. *cmdReset:    crossclient -cmd 'dm dm;reset %s'
  60.  
  61. !!! command to move dm to this map in crossfire
  62. !!! - not implement yet
  63. !!! - dm passwd have to be set same in here and in crossfire
  64. !!! - via /bin/sh <cmd>
  65. !!! - "'" by quoting preferable
  66. *cmdGoto:    crossclient -cmd 'dm dm;goto %s'
  67.  
  68. !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
  69. !! general resources
  70. !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
  71.  
  72. !!! font !!!
  73. Crossedit*font: -*-helvetica-bold-r-*-*-12-*-*-*-*-*-*-*
  74. Crossedit*Text*font: *-lucidatypewriter-medium-r-normal-*-12-*-*-*-*-*-*-*
  75.  
  76. !!! names !!!
  77. *title:            CrossEdit
  78. *iconName:        CrossEdit
  79. *new.label:        New
  80. *open.label:        Open
  81. *crossfire.label:    CrossFire
  82. *quit.label:        Quit
  83. *refresh.label:        Refresh
  84. *cancel.label:        Cancel
  85. *apply.label:        Apply
  86. *ok.label:        OK
  87. *mapFileButton.label:    File
  88. *mapEditButton.label:    Edit
  89. *mapOptionButton.label:    Options
  90. *editButton.label:    Edit
  91. *fileButton.label:    File
  92. *infoButton.label:    Info
  93. *archButton.label:    Arch
  94. *pickButton.label:    Pick
  95. *wallButton.label:    Walls
  96. *save.label:        Save
  97. *saveAs.label:        Save as
  98. *load.label:        Load
  99. *reload.label:        Reload
  100. *clear.label:        Clear
  101. *enter.label:        Enter
  102. *reset.label:        Reset
  103. *close.label:        Close
  104. *readOnly.label:    Read only
  105. *overWrite.label:    Overwrite
  106. *autoChoose.label:    Choose
  107. *sparse.label:        Stacking
  108. *attributes.label:    Attributes
  109. *cut.label:        Cut
  110. *copy.label:        Copy
  111. *paste.label:        Paste
  112. *fill.label:        Fill
  113. *wipe.label:        Wipe
  114. *box.label:        Box
  115. *vars.label:        Variable
  116. *exact.label:        Dump
  117.  
  118. !!! color !!!
  119. !!! - do not set colors otherwhere
  120. Crossedit*background:        DarkSeaGreen
  121. Crossedit*foreground:        Black
  122. Crossedit*SimpleMenu*background:ForestGreen
  123. Crossedit*SimpleMenu*foreground:White
  124. Crossedit*Command*background:    ForestGreen
  125. Crossedit*Command*foreground:    White
  126. Crossedit*Toggle*background:    ForestGreen
  127. Crossedit*Toggle*foreground:    White
  128. Crossedit*MenuButton*background:ForestGreen
  129. Crossedit*MenuButton*foreground:White
  130. Crossedit*Label*background:    ForestGreen
  131. Crossedit*Label*foreground:    White
  132. Crossedit*CrEdit*background:    gray60
  133. Crossedit*CrList*background:    DarkSeaGreen
  134. Crossedit*CrFace*background:    DarkSeaGreen
  135.  
  136. !!! common dimensions !!!
  137. !!! - box is common tool-object
  138. *box.min: 28
  139. *box.max: 28
  140. *SimpleMenu*HorizontalMargins: 16
  141.  
  142. !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
  143. !! object resources
  144. !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
  145.  
  146. !!! Crossedit !!!
  147. *view.allowVert:    True
  148. *view.forceBars:    True
  149. *view.width:        140
  150. *info.width:        140
  151. *view.height:        72
  152. *arch.allowVert:    True
  153. *arch.forceBars:    True
  154. *arch.height:        300
  155. *item.width:        140
  156. *item.height:        48
  157. *item.max:        84
  158. *item.min:        84
  159. *item.name.width:    136
  160. *item.name.label:    NotSelected
  161. *item.face.width:    136
  162. *pane.info.showGrip:    false
  163. *pane.box.showGrip:    false
  164. *pane.arch.showGrip:    false
  165.  
  166. !!! Edit:: !!!
  167. *edit*allowResize: True
  168. *edit*allowShellResize: False
  169. *edit*view.allowHoriz: True
  170. *edit*view.allowVert: True
  171. *edit*vbox.orientation: vertical
  172. *edit*hbox.orientation: horizontal
  173. *edit*view.forceBars: True
  174. *edit*view.horizontal.translations: #override \
  175.   <Key>Right : StartScroll(Forward) NotifyScroll(Proportional) EndScroll() \n\
  176.   <Key>Left: StartScroll(Backward) NotifyScroll(Proportional) EndScroll() \n
  177. *edit*view.vertical.translations: #override \
  178.   <Key>Down: StartScroll(Forward) NotifyScroll(Proportional) EndScroll() \n\
  179.   <Key>Up: StartScroll(Backward) NotifyScroll(Proportional) EndScroll() \n
  180.  
  181. !!! Attr !!!
  182. *attr*name.width: 300
  183. *attr*name.translations: #override \
  184.   <Key>Return: beginning-of-line()\n
  185. *attr*Box.borderWidth: 0
  186. *attr*view.width: 300
  187. *attr*view.height: 100
  188. *attr*view*label.width: 60
  189. *attr*view*value.width: 208
  190. *attr*view*value.translations: #override \
  191.   <Key>Return: beginning-of-line()\n
  192. *attr*view*toggle.width: 90
  193. *attr*view*Box.hSpace: 3
  194. *attr*view*Box.vSpace: 1
  195. *attr*face.width: 96
  196. *attr*face.height: 48
  197. *attr*msg.width:  300
  198. *attr*msg.height: 76
  199. *attr*msg.autoFill: True
  200. *attr*msg.scrollVertical: always
  201. *attr*inventory.width: 198
  202. *attr*inventory.height: 72
  203. *attr*inventory.allowVert: True
  204. *attr*inventory.forceBars: True
  205. *attr*exact.width: 96
  206. *attr*vars.width: 60
  207. *attr*var.width: 234
  208. *attr*var.translations: #override \
  209.   <Key>Return: beginning-of-line()\n
  210. *attr*value.width: 136
  211. *attr*ok.width: 96
  212. *attr*apply.width: 96
  213. *attr*cancel.width: 96
  214.  
  215. !!! Mapattr !!!
  216. *mapattr*name.width: 300
  217. *mapattr*name.translations: #override \
  218.   <Key>Return: beginning-of-line()\n
  219. *mapattr*Box.borderWidth: 0
  220. *mapattr*view.width: 300
  221. *mapattr*view.height: 220
  222. *mapattr*view*label.width: 70
  223. *mapattr*view*value.width: 198
  224. *mapattr*view*value.translations: #override \
  225.   <Key>Return: beginning-of-line()\n
  226. *mapattr*view*Box.hSpace: 3
  227. *mapattr*view*Box.vSpace: 1
  228. *mapattr*face.width: 96
  229. *mapattr*face.height: 24
  230. *mapattr*msg.width:  300
  231. *mapattr*msg.height: 76
  232. *mapattr*msg.autoFill: True
  233. *mapattr*msg.scrollVertical: always
  234. *mapattr*inventory.width: 198
  235. *mapattr*inventory.height: 24
  236. *mapattr*inventory.allowVert: True
  237. *mapattr*inventory.forceBars: True
  238. *mapattr*exact.width: 96
  239. *mapattr*vars.width: 60
  240. *mapattr*var.width: 234
  241. *mapattr*var.translations: #override \
  242.   <Key>Return: beginning-of-line()\n
  243. *mapattr*ok.width: 96
  244. *mapattr*apply.width: 96
  245. *mapattr*cancel.width: 96
  246.  
  247. !!! Ducumentation - infoFile !!!
  248. *infoFile.title:        Documentation
  249. *infoFile*text.width:        600
  250. *infoFile*text.height:        330
  251. *infoFile*cancel.width:     100
  252. *infoFile*cancel.label:        Dismiss
  253. *infoFile*file.width:        290
  254. *infoFile*Paned.showGrip:    False
  255. *infoFile*text.scrollHorizontal:whenNeeded
  256. *infoFile*text.scrollVertical:    always
  257. *infoFile*Text.width:        450
  258. *infoFile*Text.height:        300
  259. *infoFile*Text.scrollHorizontal:never
  260. *infoFile*Text.scrollVertical:    always
  261.  
  262. !!! file select !!!
  263. *fileSelect.title: File Select
  264. *fileSelect*Viewport.allowVert: True
  265. *fileSelect*Viewport.forceBars: True
  266. *fileSelect*dirList.defaultColumns: 1
  267. *fileSelect*dirList.forceColumns: True
  268. *fileSelect*dirView.width: 100 
  269. *fileSelect*dirView.height: 250 
  270. *fileSelect*fileList.defaultColumns: 3
  271. *fileSelect*fileList.forceColumns: False
  272. *fileSelect*fileList.Longest: 100
  273. *fileSelect*fileList.translations: #override \
  274.   <Btn1Down>:    Set() Notify() \n\
  275.   <Btn1Up>(2): Set() Notify() PathReturn() \n
  276. *fileSelect*fileView.width: 300 
  277. *fileSelect*fileView.height: 250 
  278. *fileSelect*cwd.width: 300
  279. *fileSelect*cwd.resize: False
  280. *fileSelect*cwd.justify: left
  281. *fileSelect*cancel.width: 100
  282. *fileSelect*ok.width: 300
  283. *fileSelect*text.width: 100
  284. *fileSelect.height: 400
  285. *fileSelect*text.translations: #override \
  286.   <Key>Tab:    Nop() \n\
  287.   <Key>Return: PathReturn() \n
  288.  
  289. !!! Attr->dump !!!
  290. *dump.title:            Object Dump
  291. *dump*text.width:        150
  292. *dump*text.height:        400
  293. *dump*text.scrollHorizontal:    newer
  294. *dump*text.scrollVertical:    always
  295. *dump*cancel.width:        150
  296. *dump*cancel.label:        Dismiss
  297.  
  298. !!! Attr->vars !!!
  299. *vars.title:        Select variable
  300. *vars*view.width:    300
  301. *vars*view.height:    250
  302. *vars*view.allowVert:    True
  303. *vars*view.forceBars:    True
  304. *vars*cancel.width:    300
  305.  
  306. !!! end of resources !!!
  307.  
  308.  
  309.